package edu.gatech.cs2340.OregonTrail;

import javax.swing.JPanel;

import java.awt.Dimension;
import java.awt.GridBagLayout;
import javax.swing.JLabel;
import java.awt.GridBagConstraints;
import java.awt.Insets;

public class WinPanel extends JPanel{

	private static final long serialVersionUID = 1L;

	public WinPanel(){
		setPreferredSize(new Dimension(524, 600));
		GridBagLayout gridBagLayout = new GridBagLayout();
		gridBagLayout.columnWidths = new int[]{15, 345, 15, 0};
		gridBagLayout.rowHeights = new int[]{15, 25, 25, 25, 360, 15, 0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0, Double.MIN_VALUE};
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
		setLayout(gridBagLayout);
		
		JLabel lblYou = new JLabel("You made it to Oregon!");
		GridBagConstraints gbc_lblYou = new GridBagConstraints();
		gbc_lblYou.insets = new Insets(0, 0, 5, 5);
		gbc_lblYou.gridx = 1;
		gbc_lblYou.gridy = 1;
		add(lblYou, gbc_lblYou);
		
		JLabel lblFreakingWin = new JLabel("You Freaking Win!!");
		GridBagConstraints gbc_lblFreakingWin = new GridBagConstraints();
		gbc_lblFreakingWin.insets = new Insets(0, 0, 5, 5);
		gbc_lblFreakingWin.gridx = 1;
		gbc_lblFreakingWin.gridy = 3;
		add(lblFreakingWin, gbc_lblFreakingWin);
	}
}